package org.lee.other.opt;

import java.util.Optional;

/**
 * Company
 *
 * @author dralee
 * @date 2022-01-22 13:40:02
 **/
public class Company {
    private Department department;

    public Optional<Department> getDepartment() {
        return Optional.ofNullable(department);
    }

    public void setDepartment(Department department) {
        this.department = department;
    }
}
